#!/usr/bin/env python

ab = {
        'droid4u'  : 'tsyj2007@gmail.com',
        'tsyj2007' : 'tsyj2007@yahoo.com.cn'
        }

print "droid4u's address is %s" % ab['droid4u']

ab['tsyj2010'] = 'tsyj2010@gmail.com'

del ab['tsyj2010']

print '\nThere is %d contacts in the address-book\n' % len(ab)

for name, address in ab.items():
    print 'Contact %s at %s' % (name, address)

if 'droid4u' in ab:
    print "\ndroid4u's address is %s" % ab['droid4u']
